/*
 * H264LiveVideoServerMediaSubssion.hh
 *
 *  Created on: 2014-4-9
 *      Author: root
 */

#ifndef H264LIVEVIDEOSERVERMEDIASUBSSION_HH_
#define H264LIVEVIDEOSERVERMEDIASUBSSION_HH_
#include "H264VideoFileServerMediaSubsession.hh"


class H264LiveVideoServerMediaSubssion: public H264VideoFileServerMediaSubsession {

public:
  static H264LiveVideoServerMediaSubssion*
  createNew( UsageEnvironment& env,
	           char const* fileName,
				Boolean reuseFirstSource );

protected: // we're a virtual base class
  H264LiveVideoServerMediaSubssion( UsageEnvironment& env, char const* fileName, Boolean reuseFirstSource );
   ~H264LiveVideoServerMediaSubssion();

protected: // redefined virtual functions
   FramedSource* createNewStreamSource(unsigned clientSessionId,
					      unsigned& estBitrate);
public:
   char fFileName[100];

};


#endif /* H264LIVEVIDEOSERVERMEDIASUBSSION_HH_ */
